INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD

QT += network

# Enable very detailed debug messages when compiling the debug version
CONFIG(debug, debug|release) {
    DEFINES += SUPERVERBOSE
}

include (../httpserver/httpserver.pri)
include (../logging/logging.pri)
include (../qtservice/qtservice.pri)
include (../qjsonwebtoken/qjsonwebtoken.pri)
include (../qdatabasepool/qdatabasepool.pri)
include (../qbaseentity/qbaseentity.pri)

SOURCES += \
    $$PWD/controller/authcontroller.cpp \
    $$PWD/controller/authoritycontroller.cpp \
    $$PWD/controller/menucontroller.cpp \
    $$PWD/controller/rolecontroller.cpp \
    $$PWD/controller/usercontroller.cpp \
    $$PWD/dao/authoritydao.cpp \
    $$PWD/dao/menudao.cpp \
    $$PWD/dao/roledao.cpp \
    $$PWD/dao/userdao.cpp \
    $$PWD/database/coredatabase.cpp \
    $$PWD/entity/authority.cpp \
    $$PWD/entity/menu.cpp \
    $$PWD/entity/role.cpp \
    $$PWD/entity/user.cpp \
    $$PWD/httpservice.cpp \
    $$PWD/requestmapper.cpp \
    $$PWD/service/authorityservice.cpp \
    $$PWD/service/menuservice.cpp \
    $$PWD/service/roleservice.cpp \
    $$PWD/service/userservice.cpp \
    $$PWD/vo/menuvo.cpp \
    $$PWD/vo/metavo.cpp \
    $$PWD/utils/cookieutils.cpp \
    $$PWD/utils/qjwtutils.cpp \
    $$PWD/utils/responesutils.cpp

HEADERS += \
    $$PWD/controller/authcontroller.h \
    $$PWD/controller/authoritycontroller.h \
    $$PWD/controller/menucontroller.h \
    $$PWD/controller/rolecontroller.h \
    $$PWD/controller/usercontroller.h \
    $$PWD/dao/authoritydao.h \
    $$PWD/dao/menudao.h \
    $$PWD/dao/roledao.h \
    $$PWD/dao/userdao.h \
    $$PWD/database/coredatabase.h \
    $$PWD/entity/authority.h \
    $$PWD/entity/menu.h \
    $$PWD/entity/role.h \
    $$PWD/entity/user.h \
    $$PWD/httpservice.h \
    $$PWD/requestmapper.h \
    $$PWD/service/authorityservice.h \
    $$PWD/service/menuservice.h \
    $$PWD/service/roleservice.h \
    $$PWD/service/userservice.h \
    $$PWD/vo/menuvo.h \
    $$PWD/vo/metavo.h \
    $$PWD/utils/cookieutils.h \
    $$PWD/utils/qjwtutils.h \
    $$PWD/utils/responesutils.h

INCLUDEPATH += $$PWD/controller \
               $$PWD/entity \
                $$PWD/dao \
                $$PWD/database \
                $$PWD/vo \
                $$PWD/service \
                $$PWD/utils \
